package com.bl.service.impl;

import com.bl.domain.User;
import com.bl.mapper.UserMapper;
import com.bl.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class UserServiceImpl implements IUserService {
    @Autowired
    public UserMapper userMapper;

    @Override
    public List<User> loadAll() {
        return userMapper.findAll();
    }
}
